#ifndef USERINPUT_H
#define USERINPUT_H

  #include "basic.h"
  #include "dataStructures.h"
  #include "messages.h"
  #include "network.h"

  //Thread that is an infinite loop to take user request
  void * threadUserInput();
  
  //Takes user request - worker function
  void * getInput(void * ptr);
  
  //Populates an array with a list of unique peers from content directory
  int allUniquePeers(struct contentDir array[]);
  
  //Creates a request message given a filename
  int createRequestMessage(char * name, char * reqMsgBuffer);

#endif
